export default {
  specilcArr(arr){
    for(var i = 0;i<arr.length;i++){
      var dataScode = arr[i];
      this.specilcObj(dataScode)   
      // userIfon_content.png
    }
  },
  specilcObj(obj){
    //状态
    switch(obj.currentState)
    {
      case '30':
        obj.currentState = '待支付';
        break;
      case '40':
        obj.currentState = '待合作';
        break;
      case '50':
        obj.currentState = '审核通过';
        break;
      case '55':
        obj.currentState = '审核中';
        break;
      case '60':
        obj.currentState = '审核未通过';
        break;
      case '70':
        obj.currentState = '洽谈中';
        break;
      case '80':
        obj.currentState = '合作中';
        break;
      case '85':
        obj.currentState = '商家完成合作';
        break;
      case '65':
        obj.currentState = '商家已评价';
        break;
      case '86':
        obj.currentState = '创意师完成合作';
        break;
      case '87':
        obj.currentState = '延期中';
        break;
      case '90':
        obj.currentState = '合作完成';
        break;
      case '100':
        obj.currentState = '待评价';
        break;
      case '110':
        obj.currentState = '任务到期';
        break;
      case '120':
        obj.currentState = '任务取消';
        break;
      case '130':
        obj.currentState = '平台仲裁';
        break;
      default:
      console.log(obj.currentState)    
    };
    //行业
    switch(obj.demandType)
    {
      case '10':
        obj.demandType = '餐饮业';
        break;
      case '11':
        obj.demandType = '服装业';
        break;
      case '12':
        obj.demandType = '美容美发业';
        break;
      case '13':
        obj.demandType = '娱乐休闲业';
        break;
      case '14':
        obj.demandType = '母婴业';
        break;
      case '15':
        obj.demandType = '培训业';
        break;
      case '16':
        obj.demandType = '零售业';
        break;
      case '17':
        obj.demandType = '其他';
        break;
      default:
        console.log(obj.demandType)
    };
    //要求时间
    switch(obj.requireTime)
    {
      case '20':
        obj.requireTime = '24小时内';
        break;
      case '21':
        obj.requireTime = '三天内';
        break;
      case '22':
        obj.requireTime = '五天内';
        break;
      case '23':
        obj.requireTime = '七天内';
        break;
      case '24':
        obj.requireTime = '十天内';
        break;
      default:
        console.log(obj.requireTime)
    };
    //海报
    switch(obj.requirements) 
    {
      case '00':
        obj.requirements = '海报';
        break;
      case '01':
        obj.requirements = '宣传片';
        break;
      case '0100':
        obj.requirements = '图片宣传';
        break;
      case '0101':
        obj.requirements = '实拍宣传';
        break;
      case '0102':
        obj.requirements = '动画宣传';
        break;
      default:
        console.log(obj.requirements)
    }
  }
}